package com.itqf.service.impl;

import com.itqf.mapper.DtsGoodsMapper;
import com.itqf.service.DtsGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * projectName: store_parent
 *
 * @author: 赵伟风
 * time: 2021/6/9 11:07
 * description:
 */
@Service
public class DtsGoodsServiceImpl implements DtsGoodsService {

    @Autowired
    private DtsGoodsMapper goodsMapper;

    /**
     * 查询有效商品数量!
     *
     * @return
     */
    @Override
    public int findGoodsNumber() {

        int number = goodsMapper.queryNumber();

        return number;
    }
}
